@echo off

REM mh-apiserver 启动脚本

REM 应用名称
set APP_NAME=mh-apiserver

REM JVM参数
set JVM_OPTS=-Xms512m -Xmx1024m

REM 应用端口
set SERVER_PORT=8081

REM 启动应用
echo Starting %APP_NAME%...
java %JVM_OPTS% -jar target/%APP_NAME%.jar --server.port=%SERVER_PORT%
echo %APP_NAME% started successfully!